import { createApp } from 'vue'

import App from '@/App.vue'

import '@/style/reset.scss';

import top from "@/view/Top.vue";

import buttom from '@/view/Buttom.vue';

import router from '@/router';

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import pinia from '@/store';

//注册公共组件
import Login from '@/view/user/login.vue';

let app = createApp(App);
app.component("top", top);
app.component("buttom", buttom);
app.use(router);
app.use(ElementPlus);
app.use(pinia);
app.component('Login', Login);
app.mount('#app')
